package com.topvision.service.region;

import com.topvision.model.region.Region;

import java.util.List;
import java.util.Map;

/**
 * 区域数据表
 * 
 * @author shengwm
 * @email 179653076@qq.com
 * @date 2017-08-30 14:44:04
 */
public interface RegionService {
	
	Region queryObject(Integer id);
	
	List<Region> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(Region region);
	
	void update(Region region);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	List<Region> findAll();

	List<Region> provinces();

	List<Region> cities(Long provinceid);
}
